Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Selecting an Input Source


VDSetInput

The VDSetInput function allows applications to select the input video source for a video digitizer component.

All video digitizer components must support this function.

pascal VideoDigitizerError VDSetInput (VideoDigitizerComponent ci,
                                       short input);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
input
Specifies the input video source for this request. Video digitizer components number video sources sequentially, starting at 0. So, to request the first video source, an application sets this parameter to 0.
RESULT CODES
noErr0No error
qtParamErr-2202Invalid parameter value
SEE ALSO
Applications can get the number of video sources supported by a video digitizer component by calling the VDGetNumberOfInputs function (described in the previous section). Applications can get more information about a video source by calling the VDGetInputFormat function (described on page 8-32).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help